package net.solvetheriddle.wwclient.view;

import net.solvetheriddle.wwclient.activity.WorkOverviewActivity;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.widget.TextView;

public class TimeAxisVerticalTextView extends TextView {

    public TimeAxisVerticalTextView(Context context) {
	super(context);
    }

    public TimeAxisVerticalTextView(Context context, AttributeSet attrs) {
	super(context, attrs);
    }

    public TimeAxisVerticalTextView(Context context, AttributeSet attrs, int defStyle) {
	super(context, attrs, defStyle);
    }

    protected void onDraw(Canvas canvas) {
	
	canvas.rotate(90, 0, WorkOverviewActivity.TIME_AXIS_TEXT_ROTATION_Y);
	
	super.onDraw(canvas);
    }

}
